package com.code.hfd.command;

public class SimpleRemoteControl {
    Commmand slot;

    public SimpleRemoteControl() {
    }

    public void setCommand(Commmand slot) {
        this.slot = slot;
    }

    public void buttonWasPressed() {
        this.slot.execute();
    }
}
